clc; clear all; % Define the differential equation syms y(x); eqn=input(' Enter the differential equation') yg= simplify( dsolve(eqn))